/**
 *			\author ITII - ISEN - P6
 *			\author Jonathan CASSAING
 *			\file Mail.cpp
 *			\version 0.2
 *			\date 06/09/2010
 */


#include "Mail.h"


Mail::Mail( std::string mailFrom,
	    std::string mailTo,
	    std::string subject,
	    std::string body )
{
	_mailFrom	= mailFrom;
	_mailTo		= mailTo;
	_subject	= subject;
	_body		= body;
}

void Mail::setMailFrom(std::string mailFrom)
{
	_mailFrom = mailFrom;
}

std::string Mail::getMailFrom() const
{
	return _mailFrom;
}

void Mail::setMailTo(std::string mailTo)
{
	_mailTo = mailTo;
}

std::string Mail::getMailTo() const
{
	return _mailTo;
}

void Mail::setSubject(std::string subject)
{
	_subject = subject;
}

std::string Mail::getSubject() const
{
	return _subject;
}

void Mail::setBody(std::string body)
{
	_body = body;
}

std::string Mail::getBody() const
{
	return _body;
}
